package com.schoolcloud.front.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.Data;

/**
 * @TableName fro_user
 */
@TableName(value = "fro_user")
@Data
public class FroUser implements Serializable {
    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     * 用户Id
     */
    @TableId(type = IdType.AUTO)
    private Integer userId;


    private String studentId;
    /**
     * 用户名
     */
    private String userName;
    /**
     * 昵称
     */
    private String nickname;
    /**
     * 头像
     */
    private String avatar;
    /**
     * 密码
     */
    private String password;
    /**
     * 手机号
     */
    private String phone;
    /**
     * 状态
     */
    private String status;
    /**
     * 性别
     */
    private Integer sex;
    /**
     * 注册时间
     */
    private LocalDateTime createTime;
    /**
     *个人简介
     */
    private String biography;

    /**
     *专业
     */
    private String major;

    /**
     *年级
     */
    private String grade;
    /**
     *邮箱
     */
    private String email;

    private String college;
}
